package org.deltaset.meta;

/**
 *
 * @author dmakariev
 */
public interface ExecuteListener {

    /**
     * used for hiding the action from the UI. if returns false, then the 'hideXXX' method is called
     */
    boolean hideAction(final MetaAction metaAction, final Object model);

    //beforeExecuteAction
    //afterExecuteAction
    /**
     * this method should be used just for auditing purposes (which action was called , in which context)
     */
    void auditExecuteAction(final MetaAction metaAction, final Object model, final Object[] parameterValues);
}
